<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="http://localhost:8080/TomcatDemo/LoginServlet" method="post">

  <input type="text" placeholder="用户名" name="name"/>
  <input type="password" placeholder="密码" name="psd"/>
  <input type="submit">
</form>

</body>
</html>